package com.test.spring.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.test.spring.bean.User;


public interface UserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
    /**
     * 获取用户列表
     * @return
     */
    List<User> getUserList();
    
    /**
     * 更新用户信息
     */
    int updateUser(@Param("userId") String userId,@Param("userName") String userName);
}